define(function(require, exports, module) {
	'use strict';
    

    (function () {
        var ctrlNum = 4;
        $.widget('rk.wrStatistics_' + ctrlNum + 'PopupCtrl', $.rk.wrStatisticsPopupCtrl, {
            _create: function () {
                var me = this;
                var elem = me.element;
            },
            _init: function () {
                var me = this;
                me._super();
            },
            _handleData: function (data) {
                var me = this;
                var elem = me.element;

                var newEntities = data.newEntities;
                if (newEntities.length > 0)newEntities[newEntities.length - 1].isLast = true;
                for (var i = 0, len = newEntities.length; i < len; i++) {
                    var entity = newEntities[i];
                }

                return data;
            }
        });
    })()

});
